@import '../../../../assets/scss/mixin.scss';
.container {
    display: flex;
    align-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;

    width: 100%;
    min-height: calc(100vh - 154px);
    padding: 100px 5% 0 5%;

    background-image: url('/imgs/home_bg.png');
    .company {
        display: flex;
        align-items: flex-start;
        flex-basis: calc((100% - (48px * 2) - (20px * 2 * 3)) / 3);
        flex-direction: column;
        flex-grow: 0;
        flex-shrink: 0;
        justify-content: space-between;

        height: 200px;
        margin-right: 48px;
        margin-bottom: 48px;
        padding: 20px;

        cursor: pointer;

        border-radius: 4px;
        background: #ffffff;
        box-shadow: 0px 2px 24px 0px #eaeaea;
        &:nth-child(3n) {
            margin-right: 0;
        }

        &:last-child {
            margin-right: 0px;
        }

        &-title {
            display: flex;
            flex-direction: column;
            &_name {
                color: #33302d;

                font-size: 20px;
                font-weight: 500;
            }

            .company-sub {
                width: max-content;
                margin-top: 12px;
                padding: 4px 12px;

                border-radius: 2px;
                background: #ffefe4;
                &_shop {
                    display: block;
                    overflow: hidden;

                    max-width: 240px;

                    white-space: nowrap;
                    text-overflow: ellipsis;

                    color: #ff9814;

                    font-size: 14px;
                }
            }
        }

        &-status {
            position: relative;

            display: flex;
            flex-direction: column;

            width: 100%;
            .yibohui_btn {
                position: absolute;
                top: 10px;
                right: 0;
            }
            .yibohui_desc {
                position: absolute;
                bottom: -14px;
                left: 71px;

                width: calc(100% - 80px);

                text-align: left;

                color: #969696;

                font-size: 12px;
                line-height: 12px;

                @include text-ellipsis(1);
            }
            &_item {
                // margin-top: 12px;
                height: 24px;

                line-height: 24px;

                &_label {
                    color: #33302d;

                    font-size: 14px;
                    font-weight: 400;
                }

                &_value {
                    color: #969696;

                    font-size: 14px;
                    font-weight: 500;
                }

                &_auth {
                    color: #ff6b00;
                }

                &_authed {
                    color: #60b900;
                }

                &_authfail {
                    color: #fe292b;
                }
            }
        }
    }
    .disabled {
        .company-status_item_close_status {
            color: #969696;
        }
    }

    .company-add {
        align-items: center;
        justify-content: center;

        color: #969696;
        span {
            margin-top: 20px;
        }
    }
}
